package com.mingshashan.building.easy.log;

import org.apache.logging.log4j.Marker;

/**
 * Logger
 *
 * @author jasonxu
 */
public class Logger {

    org.apache.logging.log4j.Logger loggerDelegater;

    public String getName() {
        return loggerDelegater.getName();
    }

    public boolean isTraceEnabled() {
        return loggerDelegater.isTraceEnabled();
    }

    public void trace(String msg) {
        loggerDelegater.trace(msg);
    }

    public void trace(String format, Object arg) {
        loggerDelegater.trace(format, arg);
    }

    public void trace(String format, Object arg1, Object arg2) {
        loggerDelegater.trace(format, arg1, arg2);
    }

    public void trace(String format, Object... arguments) {
        loggerDelegater.trace(format, arguments);
    }

    public void trace(String msg, Throwable t) {
        loggerDelegater.trace(msg, t);
    }

    public boolean isTraceEnabled(Marker marker) {
        return loggerDelegater.isTraceEnabled(marker);
    }

    public void trace(Marker marker, String msg) {
        loggerDelegater.trace(marker, msg);
    }

    public void trace(Marker marker, String format, Object arg) {
        loggerDelegater.trace(marker, format, arg);
    }

    public void trace(Marker marker, String format, Object arg1, Object arg2) {
        loggerDelegater.trace(marker, format, arg1, arg2);
    }

    public void trace(Marker marker, String format, Object... argArray) {
        loggerDelegater.trace(marker, format, argArray);
    }

    public void trace(Marker marker, String msg, Throwable t) {
        loggerDelegater.trace(marker, msg, t);
    }

    public boolean isDebugEnabled() {
        return loggerDelegater.isDebugEnabled();
    }

    public void debug(String msg) {
        loggerDelegater.debug(msg);
    }

    public void debug(String format, Object arg) {
        loggerDelegater.debug(format, arg);
    }

    public void debug(String format, Object arg1, Object arg2) {
        loggerDelegater.debug(format, arg1, arg2);
    }

    public void debug(String format, Object... arguments) {
        loggerDelegater.debug(format, arguments);
    }

    public void debug(String msg, Throwable t) {
        loggerDelegater.debug(msg, t);
    }

    public boolean isDebugEnabled(Marker marker) {
        return loggerDelegater.isDebugEnabled(marker);
    }

    public void debug(Marker marker, String msg) {
        loggerDelegater.debug(marker, msg);
    }

    public void debug(Marker marker, String format, Object arg) {
        loggerDelegater.debug(marker, format, arg);
    }

    public void debug(Marker marker, String format, Object arg1, Object arg2) {
        loggerDelegater.debug(marker, format, arg1, arg2);
    }

    public void debug(Marker marker, String format, Object... arguments) {
        loggerDelegater.debug(marker, format, arguments);
    }

    public void debug(Marker marker, String msg, Throwable t) {
        loggerDelegater.debug(marker, msg, t);
    }

    public boolean isInfoEnabled() {
        return loggerDelegater.isInfoEnabled();
    }

    public void info(String msg) {
        loggerDelegater.info(msg);
    }

    public void info(String format, Object arg) {
        loggerDelegater.info(format, arg);
    }

    public void info(String format, Object arg1, Object arg2) {
        loggerDelegater.info(format, arg1, arg2);
    }

    public void info(String format, Object... arguments) {
        loggerDelegater.info(format, arguments);
    }

    public void info(String msg, Throwable t) {
        loggerDelegater.info(msg, t);
    }

    public boolean isInfoEnabled(Marker marker) {
        return loggerDelegater.isInfoEnabled(marker);
    }

    public void info(Marker marker, String msg) {
        loggerDelegater.info(marker, msg);
    }

    public void info(Marker marker, String format, Object arg) {
        loggerDelegater.info(marker, format, arg);
    }

    public void info(Marker marker, String format, Object arg1, Object arg2) {
        loggerDelegater.info(marker, format, arg1, arg2);
    }

    public void info(Marker marker, String format, Object... arguments) {
        loggerDelegater.info(marker, format, arguments);
    }

    public void info(Marker marker, String msg, Throwable t) {
        loggerDelegater.info(marker, msg, t);
    }

    public boolean isWarnEnabled() {
        return loggerDelegater.isWarnEnabled();
    }

    public void warn(String msg) {
        loggerDelegater.warn(msg);
    }

    public void warn(String format, Object arg) {
        loggerDelegater.warn(format, arg);
    }

    public void warn(String format, Object... arguments) {
        loggerDelegater.warn(format, arguments);
    }

    public void warn(String format, Object arg1, Object arg2) {
        loggerDelegater.warn(format, arg1, arg2);
    }

    public void warn(String msg, Throwable t) {
        loggerDelegater.warn(msg, t);
    }

    public boolean isWarnEnabled(Marker marker) {
        return loggerDelegater.isWarnEnabled(marker);
    }

    public void warn(Marker marker, String msg) {
        loggerDelegater.warn(marker, msg);
    }

    public void warn(Marker marker, String format, Object arg) {
        loggerDelegater.warn(marker, format, arg);
    }

    public void warn(Marker marker, String format, Object arg1, Object arg2) {
        loggerDelegater.warn(marker, format, arg1, arg2);
    }

    public void warn(Marker marker, String format, Object... arguments) {
        loggerDelegater.warn(marker, format, arguments);
    }

    public void warn(Marker marker, String msg, Throwable t) {
        loggerDelegater.warn(marker, msg, t);
    }

    public boolean isErrorEnabled() {
        return loggerDelegater.isErrorEnabled();
    }

    public void error(String msg) {
        loggerDelegater.error(msg);
    }

    public void error(String format, Object arg) {
        loggerDelegater.error(format, arg);
    }

    public void error(String format, Object arg1, Object arg2) {
        loggerDelegater.error(format, arg1, arg2);
    }

    public void error(String format, Object... arguments) {
        loggerDelegater.error(format, arguments);
    }

    public void error(String msg, Throwable t) {
        loggerDelegater.error(msg, t);
    }

    public void error(Throwable t) {
        loggerDelegater.error(t.getMessage(), t);
    }

    public boolean isErrorEnabled(Marker marker) {
        return loggerDelegater.isErrorEnabled(marker);
    }

    public void error(Marker marker, String msg) {
        loggerDelegater.error(marker, msg);
    }

    public void error(Marker marker, String format, Object arg) {
        loggerDelegater.error(marker, format, arg);
    }

    public void error(Marker marker, String format, Object arg1, Object arg2) {
        loggerDelegater.error(marker, format, arg1, arg2);
    }

    public void error(Marker marker, String format, Object... arguments) {
        loggerDelegater.error(marker, format, arguments);
    }

    public void error(Marker marker, String msg, Throwable t) {
        loggerDelegater.error(marker, msg, t);
    }

    public Logger(org.apache.logging.log4j.Logger logger) {
        this.loggerDelegater = logger;
    }


}
